using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class EventSystemValue : MonoBehaviour
{
    // Start is called before the first frame update
    void Start()
    {
        int threshold = (int)Mathf.Ceil(UnityEngine.Screen.dpi / 40.0f);
        UnityEngine.EventSystems.EventSystem.current.pixelDragThreshold = threshold;
    }
}
